package humanMirror.model.analyzer;

public class Consultation {
    private final String doctor;
    private final String recipe;
    private final StringBuilder parametersMeanings;

    public Consultation(String doctor, String recipe, StringBuilder parametersMeanings) {
        this.doctor = doctor;
        this.recipe = recipe;
        this.parametersMeanings = parametersMeanings;
    }

    @Override
    public Object clone() throws CloneNotSupportedException {
        return new Consultation(doctor, recipe, parametersMeanings);
    }

    public String organHealth() {
        StringBuilder result = new StringBuilder();
        result.append(doctor);
        result.append(": ");
        result.append(recipe);
        return result.toString();
    }
    public String organParameters(){
        return parametersMeanings.toString();
    }
}